package com.baozun.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TContactExample {
    protected Integer start;
    protected Integer size;
    
    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public TContactExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStContactIdIsNull() {
            addCriterion("ST_CONTACT_ID is null");
            return (Criteria) this;
        }

        public Criteria andStContactIdIsNotNull() {
            addCriterion("ST_CONTACT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andStContactIdEqualTo(String value) {
            addCriterion("ST_CONTACT_ID =", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdNotEqualTo(String value) {
            addCriterion("ST_CONTACT_ID <>", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdGreaterThan(String value) {
            addCriterion("ST_CONTACT_ID >", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdGreaterThanOrEqualTo(String value) {
            addCriterion("ST_CONTACT_ID >=", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdLessThan(String value) {
            addCriterion("ST_CONTACT_ID <", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdLessThanOrEqualTo(String value) {
            addCriterion("ST_CONTACT_ID <=", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdLike(String value) {
            addCriterion("ST_CONTACT_ID like", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdNotLike(String value) {
            addCriterion("ST_CONTACT_ID not like", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdIn(List<String> values) {
            addCriterion("ST_CONTACT_ID in", values, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdNotIn(List<String> values) {
            addCriterion("ST_CONTACT_ID not in", values, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdBetween(String value1, String value2) {
            addCriterion("ST_CONTACT_ID between", value1, value2, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdNotBetween(String value1, String value2) {
            addCriterion("ST_CONTACT_ID not between", value1, value2, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactNameIsNull() {
            addCriterion("ST_CONTACT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andStContactNameIsNotNull() {
            addCriterion("ST_CONTACT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andStContactNameEqualTo(String value) {
            addCriterion("ST_CONTACT_NAME =", value, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameNotEqualTo(String value) {
            addCriterion("ST_CONTACT_NAME <>", value, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameGreaterThan(String value) {
            addCriterion("ST_CONTACT_NAME >", value, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameGreaterThanOrEqualTo(String value) {
            addCriterion("ST_CONTACT_NAME >=", value, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameLessThan(String value) {
            addCriterion("ST_CONTACT_NAME <", value, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameLessThanOrEqualTo(String value) {
            addCriterion("ST_CONTACT_NAME <=", value, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameLike(String value) {
            addCriterion("ST_CONTACT_NAME like", value, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameNotLike(String value) {
            addCriterion("ST_CONTACT_NAME not like", value, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameIn(List<String> values) {
            addCriterion("ST_CONTACT_NAME in", values, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameNotIn(List<String> values) {
            addCriterion("ST_CONTACT_NAME not in", values, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameBetween(String value1, String value2) {
            addCriterion("ST_CONTACT_NAME between", value1, value2, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStContactNameNotBetween(String value1, String value2) {
            addCriterion("ST_CONTACT_NAME not between", value1, value2, "stContactName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameIsNull() {
            addCriterion("ST_UNIT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andStUnitNameIsNotNull() {
            addCriterion("ST_UNIT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andStUnitNameEqualTo(String value) {
            addCriterion("ST_UNIT_NAME =", value, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameNotEqualTo(String value) {
            addCriterion("ST_UNIT_NAME <>", value, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameGreaterThan(String value) {
            addCriterion("ST_UNIT_NAME >", value, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameGreaterThanOrEqualTo(String value) {
            addCriterion("ST_UNIT_NAME >=", value, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameLessThan(String value) {
            addCriterion("ST_UNIT_NAME <", value, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameLessThanOrEqualTo(String value) {
            addCriterion("ST_UNIT_NAME <=", value, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameLike(String value) {
            addCriterion("ST_UNIT_NAME like", value, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameNotLike(String value) {
            addCriterion("ST_UNIT_NAME not like", value, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameIn(List<String> values) {
            addCriterion("ST_UNIT_NAME in", values, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameNotIn(List<String> values) {
            addCriterion("ST_UNIT_NAME not in", values, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameBetween(String value1, String value2) {
            addCriterion("ST_UNIT_NAME between", value1, value2, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStUnitNameNotBetween(String value1, String value2) {
            addCriterion("ST_UNIT_NAME not between", value1, value2, "stUnitName");
            return (Criteria) this;
        }

        public Criteria andStCellphoneIsNull() {
            addCriterion("ST_CELLPHONE is null");
            return (Criteria) this;
        }

        public Criteria andStCellphoneIsNotNull() {
            addCriterion("ST_CELLPHONE is not null");
            return (Criteria) this;
        }

        public Criteria andStCellphoneEqualTo(String value) {
            addCriterion("ST_CELLPHONE =", value, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneNotEqualTo(String value) {
            addCriterion("ST_CELLPHONE <>", value, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneGreaterThan(String value) {
            addCriterion("ST_CELLPHONE >", value, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneGreaterThanOrEqualTo(String value) {
            addCriterion("ST_CELLPHONE >=", value, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneLessThan(String value) {
            addCriterion("ST_CELLPHONE <", value, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneLessThanOrEqualTo(String value) {
            addCriterion("ST_CELLPHONE <=", value, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneLike(String value) {
            addCriterion("ST_CELLPHONE like", value, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneNotLike(String value) {
            addCriterion("ST_CELLPHONE not like", value, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneIn(List<String> values) {
            addCriterion("ST_CELLPHONE in", values, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneNotIn(List<String> values) {
            addCriterion("ST_CELLPHONE not in", values, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneBetween(String value1, String value2) {
            addCriterion("ST_CELLPHONE between", value1, value2, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStCellphoneNotBetween(String value1, String value2) {
            addCriterion("ST_CELLPHONE not between", value1, value2, "stCellphone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneIsNull() {
            addCriterion("ST_TELEPHONE is null");
            return (Criteria) this;
        }

        public Criteria andStTelephoneIsNotNull() {
            addCriterion("ST_TELEPHONE is not null");
            return (Criteria) this;
        }

        public Criteria andStTelephoneEqualTo(String value) {
            addCriterion("ST_TELEPHONE =", value, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneNotEqualTo(String value) {
            addCriterion("ST_TELEPHONE <>", value, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneGreaterThan(String value) {
            addCriterion("ST_TELEPHONE >", value, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneGreaterThanOrEqualTo(String value) {
            addCriterion("ST_TELEPHONE >=", value, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneLessThan(String value) {
            addCriterion("ST_TELEPHONE <", value, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneLessThanOrEqualTo(String value) {
            addCriterion("ST_TELEPHONE <=", value, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneLike(String value) {
            addCriterion("ST_TELEPHONE like", value, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneNotLike(String value) {
            addCriterion("ST_TELEPHONE not like", value, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneIn(List<String> values) {
            addCriterion("ST_TELEPHONE in", values, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneNotIn(List<String> values) {
            addCriterion("ST_TELEPHONE not in", values, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneBetween(String value1, String value2) {
            addCriterion("ST_TELEPHONE between", value1, value2, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStTelephoneNotBetween(String value1, String value2) {
            addCriterion("ST_TELEPHONE not between", value1, value2, "stTelephone");
            return (Criteria) this;
        }

        public Criteria andStUserIdIsNull() {
            addCriterion("ST_USER_ID is null");
            return (Criteria) this;
        }

        public Criteria andStUserIdIsNotNull() {
            addCriterion("ST_USER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andStUserIdEqualTo(String value) {
            addCriterion("ST_USER_ID =", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotEqualTo(String value) {
            addCriterion("ST_USER_ID <>", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdGreaterThan(String value) {
            addCriterion("ST_USER_ID >", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("ST_USER_ID >=", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdLessThan(String value) {
            addCriterion("ST_USER_ID <", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdLessThanOrEqualTo(String value) {
            addCriterion("ST_USER_ID <=", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdLike(String value) {
            addCriterion("ST_USER_ID like", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotLike(String value) {
            addCriterion("ST_USER_ID not like", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdIn(List<String> values) {
            addCriterion("ST_USER_ID in", values, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotIn(List<String> values) {
            addCriterion("ST_USER_ID not in", values, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdBetween(String value1, String value2) {
            addCriterion("ST_USER_ID between", value1, value2, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotBetween(String value1, String value2) {
            addCriterion("ST_USER_ID not between", value1, value2, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStIsOpenIsNull() {
            addCriterion("ST_IS_OPEN is null");
            return (Criteria) this;
        }

        public Criteria andStIsOpenIsNotNull() {
            addCriterion("ST_IS_OPEN is not null");
            return (Criteria) this;
        }

        public Criteria andStIsOpenEqualTo(String value) {
            addCriterion("ST_IS_OPEN =", value, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenNotEqualTo(String value) {
            addCriterion("ST_IS_OPEN <>", value, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenGreaterThan(String value) {
            addCriterion("ST_IS_OPEN >", value, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenGreaterThanOrEqualTo(String value) {
            addCriterion("ST_IS_OPEN >=", value, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenLessThan(String value) {
            addCriterion("ST_IS_OPEN <", value, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenLessThanOrEqualTo(String value) {
            addCriterion("ST_IS_OPEN <=", value, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenLike(String value) {
            addCriterion("ST_IS_OPEN like", value, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenNotLike(String value) {
            addCriterion("ST_IS_OPEN not like", value, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenIn(List<String> values) {
            addCriterion("ST_IS_OPEN in", values, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenNotIn(List<String> values) {
            addCriterion("ST_IS_OPEN not in", values, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenBetween(String value1, String value2) {
            addCriterion("ST_IS_OPEN between", value1, value2, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andStIsOpenNotBetween(String value1, String value2) {
            addCriterion("ST_IS_OPEN not between", value1, value2, "stIsOpen");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeIsNull() {
            addCriterion("DT_CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeIsNotNull() {
            addCriterion("DT_CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME =", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeNotEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME <>", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeGreaterThan(Date value) {
            addCriterion("DT_CREATE_TIME >", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME >=", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeLessThan(Date value) {
            addCriterion("DT_CREATE_TIME <", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME <=", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeIn(List<Date> values) {
            addCriterion("DT_CREATE_TIME in", values, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeNotIn(List<Date> values) {
            addCriterion("DT_CREATE_TIME not in", values, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeBetween(Date value1, Date value2) {
            addCriterion("DT_CREATE_TIME between", value1, value2, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("DT_CREATE_TIME not between", value1, value2, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeIsNull() {
            addCriterion("DT_UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeIsNotNull() {
            addCriterion("DT_UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME =", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeNotEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME <>", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeGreaterThan(Date value) {
            addCriterion("DT_UPDATE_TIME >", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME >=", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeLessThan(Date value) {
            addCriterion("DT_UPDATE_TIME <", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME <=", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeIn(List<Date> values) {
            addCriterion("DT_UPDATE_TIME in", values, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeNotIn(List<Date> values) {
            addCriterion("DT_UPDATE_TIME not in", values, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("DT_UPDATE_TIME between", value1, value2, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("DT_UPDATE_TIME not between", value1, value2, "dtUpdateTime");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_contact
     *
     * @mbggenerated do_not_delete_during_merge Tue Jan 20 10:24:44 CST 2015
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_contact
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}